export const components = [
  {
    text: '基础组件',
    collapsed: false,
    items: [
      { text: 'Button 按钮', link: '/components/basic/button' },
      { text: 'Input 输入框', link: '/components/basic/input' },
      { text: 'CommodityInformation 卡片', link: '/components/basic/CommodityInformation' },
      { text: 'Icon 图标', link: '/components/basic/icon' },
      { text: 'Text 文本', link: '/components/basic/text' },
      { text: 'Tab 选项卡', link: '/components/basic/tab' },
      { text: 'CardInput 卡片', link: '/components/basic/cardinput' },
      { text: 'Checkbox 复选框', link: '/components/basic/checkbox' },
      { text: 'Navbar 菜单栏', link: '/components/basic/navbar' },
      { text: 'ListTemplate 分页列表', link: '/components/basic/listtemplate' },
      { text: 'VirtualList 虚拟列表', link: '/components/basic/virtuallist' },
      { text: 'BaseCard 基础卡片', link: '/components/basic/basecard' },
      { text: 'Card 卡片', link: '/components/basic/card' },
      { text: 'Combox 组合框', link: '/components/basic/combox' },
      { text: 'Drawer 抽屉', link: '/components/basic/drawer' },
      { text: 'Grid 宫格', link: '/components/basic/grid' },
      { text: 'NoticeBar 通告栏', link: '/components/basic/noticebar' },
      { text: 'Form 表单', link: '/components/basic/form' },
      { text: 'WeekCalendar 周日历', link: '/components/basic/weekcalendar' },
      { text: 'Progress 进度条', link: '/components/basic/progress' },
      { text: 'DataStatistics 数据统计', link: '/components/basic/datastatistics' },
      { text: 'DataCheckBox 数据选择器', link: '/components/basic/datacheckbox' },
      { text: 'Status 状态', link: '/components/basic/status' },
      { text: 'Select 下拉框', link: '/components/basic/select' },
      { text: 'DetailShow 明细展示', link: '/components/basic/detailshow' },
      { text: 'ECharts 图表', link: '/components/basic/echarts' },
      { text: 'EChartsLine 折线图', link: '/components/basic/echartsline' },
      { text: 'EChartsPie 饼图', link: '/components/basic/echartspie' },
      { text: 'UCharts 图表', link: '/components/basic/ucharts' },
      { text: 'LimeChart 图表', link: '/components/basic/limechart' },
      { text: 'Tag 标签', link: '/components/basic/tag' },
      { text: 'PostCard 明信片', link: '/components/basic/postcard' },
      { text: 'Popup 弹框', link: '/components/basic/popup' },
      { text: 'DropDownSearch 多条件筛选', link: '/components/basic/dropdownsearch' },
      { text: 'Background 背景组件', link: '/components/basic/background' },
      { text: 'SearchBar 搜索框', link: '/components/basic/searchbar' },
      { text: 'FilterForm  筛选表单', link: '/components/basic/filterform' },
      { text: 'FloatIcon  悬浮按钮', link: '/components/basic/floaticon' },
      { text: 'SwipeAction 滑动操作', link: '/components/basic/swipeaction' },
      { text: 'Sticky 吸顶，顶部固定', link: '/components/basic/sticky' },
      { text: 'leftdays 剩余天数展示', link: '/components/basic/leftdays' },
      { text: 'FilePicker 图片文件上传', link: '/components/basic/filepicker' },
      { text: 'Line 线条', link: '/components/basic/line' },
      { text: 'Steps 步骤条', link: '/components/basic/steps' },
      { text: 'Table 表格', link: '/components/basic/table' },
      { text: 'Fab 悬浮按钮', link: '/components/basic/fab' },
      { text: 'DatetimePicker 日期选择器', link: '/components/basic/datetimepicker' },
      { text: 'DatetimeRangePicker 日期范围选择器', link: '/components/basic/datetimerangepicker' },
      { text: 'BottomSheet 底部抽屉', link: '/components/basic/bottomsheet' },
    ],
  },
  {
    text: '布局组件',
    collapsed: false,
    items: [
      { text: 'Layout 布局', link: '/components/layout/layout' },
      { text: 'GridLayout 布局', link: '/components/layout/gridlayout' },
    ],
  },
]

export const navComponents = components.map(i => ({ text: i.text, link: i.items[0].link }))

export const guides = [
  { text: '概览', link: '/guide/index' },
]
